package org.qiyu.live.user.dto;

/**
 * Created with IntelliJ IDEA.
 * Description: 要删除的对象-->按照业务进行区分-->MQ中的消息
 * User: sfx
 * Date: 2023-09-24
 * Time: 17:21
 */
public class UserCacheAsyncDeleteDTO {

    // 用于区分不同业务的消息
    private int code;

    // 具体的内容
    private String json;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getJson() {
        return json;
    }

    public void setJson(String json) {
        this.json = json;
    }

    @Override
    public String toString() {
        return "UserCacheAsyncDeleteDTO{" +
                "code=" + code +
                ", json='" + json + '\'' +
                '}';
    }
}
